'use strict';

module.exports = app => {
  app.router.post('/user/register', app.controller.user.register);
  app.router.post('/user/login', app.controller.user.login);
  app.router.post('/user/modify_password', app.controller.user.modifyPassword);
  app.router.post('/user/modify_profile', app.controller.user.modifyProfile);
  app.router.get('/user/info', app.controller.user.info);
  app.router.get('/user/statistic', app.controller.user.statistic);
};
